package com.wang.service;

import com.wang.domain.TonguePic;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author WangZai
 * @since 2023-04-27
 */
public interface TonguePicService extends IService<TonguePic> {
    /**
     * 保存标注图片
     * @param tonguePic
     * @return
     */
    boolean saveTonguePic(TonguePic tonguePic);

    /**
     * 批量保存标注图
     * @return
     */
    boolean saveTonguePicList(List<TonguePic> tonguePicList);

    /**
     * 通过id删除对象
     * @param tonguePicId
     * @return
     */
    boolean deleteTonguePic(Integer tonguePicId);
    /**
     * 通过id查找对象
     * @param tonguePicId
     * @return
     */
    TonguePic getTonguePicById(Integer tonguePicId);
    /**
     * 获取未标注的图片列表
     * @return
     */
    List<TonguePic> getTonguePicList();

    /**
     * 修改对象
     * @param tonguePic
     * @return
     */
    boolean updateTonguePic(TonguePic tonguePic);
}
